Search

#純靠北工程師4z0
----------
公司一段 SQL 是這樣寫的:
  • Share this:

#純靠北工程師4z0
----------
公司一段 SQL 是這樣寫的:
select top 1 t2.xxx
from (
巴拉巴拉一大串,看到眼花
) t1
left outer join t2
on t1.xx = t2.xx
where t2.xx = XXX

所以我說,前輩中間寫那一大串是在裝忙嗎?

select top 1 t2.xx
from t2
where t2.xx = XXX

結果一模一樣 @@

最近大前輩一直抱怨公司資料庫效能太差,我彷彿知道了什麼

----------
💖 純靠北官方 Discord 歡迎在這找到你的同溫層!
👉 https://discord.gg/tPhnrs2

----------
💖 全平台留言、文章詳細內容
👉 https://init.engineer/cards/show/6444


Tags:

About author
not provided
「我們很懷念最開始的那個靠北工程師」,這個版將會以舊文重發的方式,重現最初的那個靠北工程師 ——Powered by 靠北工程師版主
View all posts